-- GENERATED SPELL FOR [Arcanimus] --


function spell0_26370(pUnit, Event) --@Arcane Explosion,Self--
pUnit:FullCastSpellOnTarget(51820,pUnit)
pUnit:RegisterEvent('Sorts_26370', 603, 1)
end

function Sorts_26370(pUnit, Event)
local choix_sorts_26370 = math.random(0, 0)
if choix_sorts_26370 == 0 then
pUnit:RegisterEvent('spell0_26370', 1, 1)
end
end

function mob26370_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26370', math.random(1500, 3000), 1)
end

function mob26370_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26370_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26370_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26370, 1, 'mob26370_Action')
RegisterUnitEvent(26370, 2, 'mob26370_Leave')
RegisterUnitEvent(26370, 3, 'mob26370_Kill')
RegisterUnitEvent(26370, 4, 'mob26370_Die')
